package com.zzyl.nursing.service;

import java.util.List;
import com.zzyl.nursing.domain.Reservation;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.dto.ReservationDto;


/**
 * 预约登记Service接口
 * 
 * @author ruoyi
 * @date 2025-08-28
 */
public interface IReservationService extends IService<Reservation>
{
    /**
     * 查询预约登记
     * 
     * @param id 预约登记主键
     * @return 预约登记
     */
    public Reservation selectReservationById(Long id);

    /**
     * 查询预约登记列表
     * 
     * @param reservation 预约登记
     * @return 预约登记集合
     */
    public List<Reservation> selectReservationList(Reservation reservation);

    /**
     * 新增预约登记
     * 
     * @param reservation 预约登记
     * @return 结果
     */
    public int insertReservation(Reservation reservation);

    /**
     * 到院
     * 
     * @param reservationDto 预约登记
     * @return 结果
     */
    public int updateReservation(ReservationDto reservationDto);

    /**
     * 批量删除预约登记
     * 
     * @param ids 需要删除的预约登记主键集合
     * @return 结果
     */
    public int deleteReservationByIds(Long[] ids);

    /**
     * 删除预约登记信息
     * 
     * @param id 预约登记主键
     * @return 结果
     */
    public int deleteReservationById(Long id);
}
